import 'package:flutter/material.dart';
import 'main_navigation_screen.dart';

void main() {
  runApp(const HarmonyOSApp());
}

class HarmonyOSApp extends StatelessWidget {
  const HarmonyOSApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '鸿蒙Flutter应用',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        fontFamily: 'HarmonyOS Sans', // 使用鸿蒙字体（如果可用）
        appBarTheme: const AppBarTheme(
          backgroundColor: Colors.white,
          foregroundColor: Colors.black,
          elevation: 0.5,
        ),
      ),
      home: const MainNavigationScreen(),
    );
  }
}
